#ifndef __ONENET_H
#define __ONENET_H

#include "stm32f10x.h"                  // Device header            
#include "Delay.h"
#include "ESP8266.h"
#include "WS2812B.h"
#include "Motor.h"
#include <stdbool.h>
#include <string.h>
#include <stdio.h>

void processCloudData(void);
unsigned char sendData(char *buf);
void extractIdFromData(char *idBuf, unsigned int bufSize);
void sendResponseToCloud(const char *id);
void onenet_uploadData(void);

#endif
